<?php
class student {
    
}

$user = new student();
$user['name'] = 'liming';
var_dump($user);